package JAVACORE_TRAINING.OOPS_CONCEPTS.THIS_KEYWORD;

public class Car {
	private String name;

	public Car() {
		this("BMW"); // oveloaded constructor is called.
	}

	public Car(String name) {
		this.name = name; // member is initialized using this.
	}

	public void getName() {
		System.out.println("IMIC Education");
	}

	public void display() {
		this.getName();
		System.out.println();
	}

	public Car getCar() {
		return this;
	}
}
